<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<include file="./Home/Tpl/Admin/Common/cssjs.html" />
</head>
<body>
<div class="subnav">
  <div class="content-menu ib-a blue line-x"> <a href="{:U("Comments/Comments/index")}"><em>评论管理</em></a>
  <span>|</span><a href="{:U("Comments/Comments/check")}"  class="on"><em>待审核评论</em></a></div>
</div>
<style type="text/css">
	html{_overflow-y:scroll}
</style>
<div class="pad-lr-10">
    <div class="table-list">
    <form name="myform" id="myform" action="" method="post" >
      <table width="100%" cellspacing="0">
        <thead>
          <tr>
            <th width="20"><input type="checkbox" value="" id="check_box" onclick="selectall('ids[]');"></th>
            <th width="20">ID</th>
            <th width="100">作者</th>
            <th >评论内容</th>
            <th width="180">原文标题</th>
            <th width="180">操作</th>
          </tr>
        </thead>
        <tbody>
        <volist name="data" id="vo">
          <tr>
            <td align="center"><input class="inputcheckbox " name="ids[]" value="{$vo.id}" type="checkbox"></td>
            <td align="center">{$vo.id}</td>
            <td align="center">{$vo.author}</td>
            <td >{$vo.content}</td>
            <td align="center"><a href="{$vo.url}" target="_blank">{$vo.title}</a></td>
            <td align="center"><a href="javascript:confirmurl('{:U("Comments/delete",array("id"=>$vo['id']))}','确认要删除吗？')">删除</a> | <a href="{:U("Comments/edit",array("id"=>$vo['id']))}">编辑</a> | <a href="{:U("Comments/replycomment",array("id"=>$vo['id']))}">回复</a> | 
            <a href="{:U("Comments/spamcomment",array("id"=>$vo['id']))}"><font color="#FF0000">审核</font></a>
            </td>
          </tr>
         </volist>
        </tbody>
      </table>
      <div class="btn"> 
      <input type="button" class="button" value="全部审核" onclick="myform.action='{:U("Comments/Comments/check")}';myform.submit();"/>
      <input type="button" class="button" value="删除" onclick="myform.action='{:U("Comments/Comments/index")}';myform.submit();"/>
      </div>
      <div id="pages">{$Page}</div>
    </div>
    </form>
</div>
</body>
</html>